baubs git
Commit 675b0f2b4ec5ef393db13a10faa699550c2052f2
Parents : 0c15f67
Author : Jan-Henrik Bruhn <jan-henrik.bruhn@offis.de>
Date : 2025-12-11T12:43:10+01:00
Set minimum Electron window size to prevent layout breaks
- Set minWidth to 1024px (matches Tailwind lg breakpoint)
- Set minHeight to 700px for adequate vertical space
- Prevents window from being resized to mobile single-column layout
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Changes
Diff
diff --git a/electron/main.ts b/electron/main.ts
index 0f11840..9aadc28 100644
--- a/electron/main.ts
+++ b/electron/main.ts
@@ -20,6 +20,8 @@ function createWindow() {
const mainWindow = new BrowserWindow({
width: 1600,
height: 1000,
+ minWidth: 1024, // Prevent layout from breaking into single-column mobile view
+ minHeight: 700,
autoHideMenuBar: true, // Hide the menu bar (can be toggled with Alt key)
webPreferences: {
preload: join(__dirname, 'preload.js'),
Served by rngit 1.4.2 - Generated in 0.05s